package com.example.service;

import com.example.pojo.Job;
import com.example.pojo.TakersJob;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Ansenown
* @description 针对表【takers_job】的数据库操作Service
* @createDate 2025-04-13 16:37:17
*/
public interface TakersJobService extends IService<TakersJob> {

    List<TakersJob> getJobs (Integer useridentityfer);

    int insertOne(Integer useridentityfer,String username, Integer jobId);

    List<TakersJob> getTakeUsers(List<Job> jobs);

    Integer getReceiveJobNumByJobId(Integer jobId);

    void receiveOrRejectOne(Integer jobId, Integer userId, Integer type);

    List<TakersJob> getJobPeople(List<Integer> userIdList, Integer jobId);
}
